@extends('backend.layouts.main-iframe')
@section('content')
<div class="box box-primary">
    <div class="box-body">
        <table class="table table-striped ">
            @foreach($permissionsDatas AS $key=>$permissionsData)
            <tr>
                <th style="width: 30%">{{$permissionsData['permissions_name']}}:</th>
                <td>
                    @if(isset($permissionsData['son'])&&$permissionsData['son'])
                    @foreach($permissionsData['son'] AS $key=>$per)
                    <label> <input type="checkbox" name="role[]" checked disabled> {{$per['permissions_name']}}|{{$per['method']}}</label>
                    @endforeach
                    @else
                    <label> 暂无数据</label>
                    @endif
                </td>
            </tr>
            @endforeach
        </table>
    </div>
</div>
@endsection